package com.zms.maze;

import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;

public class Explorer extends Character implements Serializable {

private static final long serialVersionUID = 1L;
	 
	public Explorer(int startx,int starty) {
		super(startx, starty);
	}
	public void writeObject(ObjectOutputStream out) throws IOException {		
		out.writeInt(x);
		out.writeInt(y);
	}
	public static Explorer readObject(ObjectInputStream in) throws IOException,ClassNotFoundException {
		Explorer man=new Explorer(in.readInt(),in.readInt());
		return man;
	}
	
	public void stop()
	{
	}
}
